<%-- 
    Document   : actionDAYSS
    Created on : May 14, 2013, 10:13:44 AM
    Author     : Hung.Ngo
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
             <script type="text/javascript" language="javascript" src="../scripts/jQuery/jq.date.js"></script>  
            <link rel="stylesheet" type="text/css" href="../css/ui.datepicker.css"/>
        <title>JSP Page</title>
        
    </head>
     <script type="text/javascript" language="javascript">
                var open_cur = 0;
                $j = jQuery.noConflict();
                $j(document).ready(function(){
                    $j('input#leavedate1b').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'button', buttonImage: '../images/calenda_icon.gif', buttonImageOnly: true }); 
                    $j('input#leavedate1a').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'button', buttonImage: '../images/calenda_icon.gif', buttonImageOnly: true }); 
                });
     </script>
  
    <body>
        <f:view>
        <h:form>
          
            <div style="width:100%;float: left;margin-top: 5px;margin-bottom: 5px;"><input style="width: 137px;" type="text" id="leavedate1a" name="leavedate1a"  class="input_fields required date nd118"  
                                                                                           value="<h:outputText value="#{customerExpand.dateStatus}"> <f:convertDateTime pattern="dd/MM/yyyy"/></h:outputText>"/></div>
            <div style="width:100%;float: left;"><input style="width: 137px;" type="text" id="leavedate1b" name="leavedate1b"  class="input_fields required date nd118"  
                                                        value="<h:outputText value="#{customerExpand.endDateSta}"> <f:convertDateTime pattern="dd/MM/yyyy"/></h:outputText>"/></div>
            <div style="width:100%;float: left;margin-top: 5px;margin-bottom: 5px;">
                <a4j:commandButton style="width:35px;"  actionListener="#{customerExpand.reloadfordata}" value="Tìm" >

                </a4j:commandButton></div>
            </h:form>
            </f:view>
    </body>
</html>
